package com.blrs.domain;

import java.util.Date;
import java.util.List;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 business_opportunity_information
 * 
 * @author ruoyi
 * @date 2023-09-25
 */
public class BusinessOpportunityInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商机id */
    private String businessId;

    /** 商机名称 */
    @Excel(name = "商机名称" ,sort = 2)
    private String businessName;

    /** 主分类 */
    private String classificationId;

    /** 客户id */
    private String enterpriseId;

    /** 客户名称 */
    @Excel(name = "客户名称" ,sort = 3)
    private String enterpriseName;

    /** 商机状态 */
    @Excel(name = "商机状态" ,comboDictType = "business_state",sort = 4,dictType = "business_state")
    private String businessState;

    /** 商机类型 */
    @Excel(name = "商机类型" ,comboDictType = "business_classify",sort = 5,dictType = "business_classify")
    private String businessType;

    /** 商机来源 */
    @Excel(name = "商机来源",comboDictType = "business_source",sort = 6,dictType = "business_source")
    private String businessSource;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名",sort = 7)
    private String contacts;

    /** 联系人电话 */
    @Excel(name = "联系人电话",sort = 8)
    private String telephone;

    /** 联系人职位 */
    @Excel(name = "联系人职位",sort = 9)
    private String position;

    /** 商机提供人 */
    @Excel(name = "商机提供人",sort = 10)
    private String businessProvider;

    /** 预计成交日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计成交日期", width = 30, dateFormat = "yyyy-MM-dd",sort = 11)
    private Date expectedDate;

    /** 跟单阶段 */
    @Excel(name = "跟单阶段" ,comboDictType = "tracking_stage",dictType = "tracking_stage",sort = 13)
    private String trackingStage;

    /** 跟单人 */
    private String followPerson;

    private Long followId;

    /** 开发经理id */
    private Long developmentId;

    /** 业务经理id */
    private Long transactionId;

    /** 开发经理 */
    private String developmentManager;

    /** 业务经理 */
    private String businessManager;

    /** 协作人id */
    private Long collaboratorId;

    /** 协作人 */
//    @Excel(name = "协作人",sort = 16)
    private String collaboratorName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd",sort = 1)
    private Date creationTime;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date operateTime;

    /** 操作人id */
    private Long operateId;

    /** 操作人姓名 */
    private String operateName;

    /** 归属于 */
    private Long belongTo;

    /** 部门id */
    private Long departmentId;

    /** 部门名称 */
    private String departmentName;

    /** 组织机构id */
    private Long organizationId;

    /** 组织机构名称 */
    private String organizationName;

    /** 是否删除 */
    private String delFlag;

    /** 创建人id */
    private Long creationId;

    /** 创建人 */
    @Excel(name = "创建人",sort = 12)
    private String creationName;
    private String url;
    private String idPath;
    private String approvalId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date followTime;
    /** 最新进展  操作人*/
    private String followName;
    /** 最新进展 */
    private String followlatest;
    private String creationNickName;
    @Excel(name = "开发经理",sort = 14)
    private String developmentManagerNickName;

    @Excel(name = "业务经理",sort = 15)
    private String businessManagerNickName;
    private String collaboratorNickName;

    /**
     * 审核状态
     */
    private String businessStatus;

    /**
     * 审核人
     */
    private Long businessStatusUser;

    /**
     * 审核人名字
     * @return
     */
    private String strName;
    /**
     * 审核人登录名
     */
    private String strNickName;

    /**
     * 报价单id
     * @return
     */
    private String quotationId;

    /**
     * 报价单审核结果
     * @return
     */
    private String approvalResults;


    /**
     * 备注
     * @return
     */
    private String remark;

    private String customerType;
    private String businessRoviderNum;

    //商机id集合
    private List<String> businessIds;

    private String recordsId;

    public String getRecordsId() {
        return recordsId;
    }

    public void setRecordsId(String recordsId) {
        this.recordsId = recordsId;
    }

    public List<String> getBusinessIds() {
        return businessIds;
    }

    public void setBusinessIds(List<String> businessIds) {
        this.businessIds = businessIds;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public String getBusinessRoviderNum() {
        return businessRoviderNum;
    }

    public void setBusinessRoviderNum(String businessRoviderNum) {
        this.businessRoviderNum = businessRoviderNum;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getApprovalResults() {
        return approvalResults;
    }

    public void setApprovalResults(String approvalResults) {
        this.approvalResults = approvalResults;
    }

    public String getQuotationId() {
        return quotationId;
    }

    public void setQuotationId(String quotationId) {
        this.quotationId = quotationId;
    }

    public String getStrName() {
        return strName;
    }

    public void setStrName(String strName) {
        this.strName = strName;
    }

    public String getStrNickName() {
        return strNickName;
    }

    public void setStrNickName(String strNickName) {
        this.strNickName = strNickName;
    }

    public Long getBusinessStatusUser() {
        return businessStatusUser;
    }

    public void setBusinessStatusUser(Long businessStatusUser) {
        this.businessStatusUser = businessStatusUser;
    }

    public String getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(String businessStatus) {
        this.businessStatus = businessStatus;
    }

    public String getCollaboratorNickName() {
        return collaboratorNickName;
    }

    public void setCollaboratorNickName(String collaboratorNickName) {
        this.collaboratorNickName = collaboratorNickName;
    }

    public String getCreationNickName() {
        return creationNickName;
    }

    public void setCreationNickName(String creationNickName) {
        this.creationNickName = creationNickName;
    }

    public String getDevelopmentManagerNickName() {
        return developmentManagerNickName;
    }

    public void setDevelopmentManagerNickName(String developmentManagerNickName) {
        this.developmentManagerNickName = developmentManagerNickName;
    }

    public String getBusinessManagerNickName() {
        return businessManagerNickName;
    }

    public void setBusinessManagerNickName(String businessManagerNickName) {
        this.businessManagerNickName = businessManagerNickName;
    }

    public void setFollowlatest(String followlatest)
    {
        this.followlatest = followlatest;
    }

    public String getFollowlatest()
    {
        return followlatest;
    }

    public void setFollowName(String followName)
    {
        this.followName = followName;
    }

    public String getFollowName()
    {
        return followName;
    }
    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setClassificationId(String classificationId) 
    {
        this.classificationId = classificationId;
    }

    public String getClassificationId() 
    {
        return classificationId;
    }
    public void setEnterpriseId(String enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setEnterpriseName(String enterpriseName) 
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() 
    {
        return enterpriseName;
    }
    public void setBusinessState(String businessState) 
    {
        this.businessState = businessState;
    }

    public String getBusinessState() 
    {
        return businessState;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setBusinessSource(String businessSource) 
    {
        this.businessSource = businessSource;
    }

    public String getBusinessSource() 
    {
        return businessSource;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setBusinessProvider(String businessProvider) 
    {
        this.businessProvider = businessProvider;
    }

    public String getBusinessProvider() 
    {
        return businessProvider;
    }
    public void setExpectedDate(Date expectedDate) 
    {
        this.expectedDate = expectedDate;
    }

    public Date getExpectedDate() 
    {
        return expectedDate;
    }
    public void setTrackingStage(String trackingStage) 
    {
        this.trackingStage = trackingStage;
    }

    public String getTrackingStage() 
    {
        return trackingStage;
    }
    public void setFollowPerson(String followPerson) 
    {
        this.followPerson = followPerson;
    }

    public String getFollowPerson() 
    {
        return followPerson;
    }
    public void setDevelopmentId(Long developmentId)
    {
        this.developmentId = developmentId;
    }

    public Long getDevelopmentId()
    {
        return developmentId;
    }
    public void setTransactionId(Long transactionId)
    {
        this.transactionId = transactionId;
    }

    public Long getTransactionId()
    {
        return transactionId;
    }
    public void setDevelopmentManager(String developmentManager) 
    {
        this.developmentManager = developmentManager;
    }

    public String getDevelopmentManager() 
    {
        return developmentManager;
    }
    public void setBusinessManager(String businessManager) 
    {
        this.businessManager = businessManager;
    }

    public String getBusinessManager() 
    {
        return businessManager;
    }
    public void setCollaboratorId(Long collaboratorId)
    {
        this.collaboratorId = collaboratorId;
    }

    public Long getCollaboratorId()
    {
        return collaboratorId;
    }
    public void setCollaboratorName(String collaboratorName) 
    {
        this.collaboratorName = collaboratorName;
    }

    public String getCollaboratorName() 
    {
        return collaboratorName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setOperateName(String operateName) 
    {
        this.operateName = operateName;
    }

    public String getOperateName() 
    {
        return operateName;
    }
    public void setBelongTo(Long belongTo) 
    {
        this.belongTo = belongTo;
    }

    public Long getBelongTo() 
    {
        return belongTo;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreationId(Long creationId)
    {
        this.creationId = creationId;
    }

    public Long getCreationId()
    {
        return creationId;
    }
    public void setCreationName(String creationName) 
    {
        this.creationName = creationName;
    }

    public String getCreationName() 
    {
        return creationName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIdPath() {
        return idPath;
    }

    public void setIdPath(String idPath) {
        this.idPath = idPath;
    }

    public Date getFollowTime() {
        return followTime;
    }

    public void setFollowTime(Date followTime) {
        this.followTime = followTime;
    }

    public Long getFollowId() {
        return followId;
    }

    public void setFollowId(Long followId) {
        this.followId = followId;
    }

    public String getApprovalId() {
        return approvalId;
    }

    public void setApprovalId(String approvalId) {
        this.approvalId = approvalId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("businessName", getBusinessName())
            .append("classificationId", getClassificationId())
            .append("enterpriseId", getEnterpriseId())
            .append("enterpriseName", getEnterpriseName())
            .append("businessState", getBusinessState())
            .append("businessType", getBusinessType())
            .append("businessSource", getBusinessSource())
            .append("contacts", getContacts())
            .append("telephone", getTelephone())
            .append("position", getPosition())
            .append("businessProvider", getBusinessProvider())
            .append("expectedDate", getExpectedDate())
            .append("trackingStage", getTrackingStage())
            .append("followPerson", getFollowPerson())
            .append("developmentId", getDevelopmentId())
            .append("transactionId", getTransactionId())
            .append("developmentManager", getDevelopmentManager())
            .append("businessManager", getBusinessManager())
            .append("collaboratorId", getCollaboratorId())
            .append("collaboratorName", getCollaboratorName())
            .append("creationTime", getCreationTime()).append("followId", getFollowId())
            .append("operateTime", getOperateTime())
            .append("operateId", getOperateId())
            .append("operateName", getOperateName())
            .append("belongTo", getBelongTo())
            .append("departmentId", getDepartmentId())
            .append("departmentName", getDepartmentName())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("delFlag", getDelFlag())
            .append("creationId", getCreationId())
            .append("creationName", getCreationName())
            .append("businessStatus",getBusinessStatus())
            .toString();
    }
}
